package com.attilax.user;

import java.util.HashMap;
import java.util.Map;

import com.attilax.token.TokenService;
import com.google.inject.Inject;


/**
 * com.attilax.user.UserService
 * @author Administrator
 *
 */
public class UserService  extends AbsService{
	
	public static Map SelectedUser;
	
	
	public void setSelectedUserID(String uid)
	{SelectedUser=new HashMap ();
	SelectedUser.put("uid", uid);
		System.out.println("---uid:"+uid);
	}


	public boolean isNotLogin() {
		// TODO Auto-generated method stub
		return false;
	}


	public User getLoginUser() {
		 User u=new User();u.id="test u";
		return u;
	}
	
	public Map getUserinfoByUid(String uid)
	{
		return null;
		
	}
	
	public Object resetPwd()
	{
		System.out.println("not imp in com.attilax.user.UserService " );
		//throw new RuntimeException("not imp");
	}
	@Inject
	TokenService tokenSrv;
	public Map getCurUserinfo()
	{
		throw new RuntimeException("not imp");
		
	}

}
